Generate the same lock always in a workspace
authorAlex Crichton <alex@alexcrichton.com>
Fri, 8 Jul 2016 06:11:22 +0000 (23:11 -0700)
committerAlex Crichton <alex@alexcrichton.com>
Fri, 8 Jul 2016 17:23:41 +0000 (10:23 -0700)
commitc33dddd505604372cddcf3b5f260141fce6e7a2d
tree9c2f1b4a0f38831441fd4fcb0e8bf2094da62119
parentd2636907a80f57cb34ac8907694f71d58eb38928
Generate the same lock always in a workspace

Previously the "root" of a lock file would erroneously change over time, so
instead just ensure that the root of a lock file is always the root of the
workspace. Otherwise the contents should always be the same.

Closes #2837
src/cargo/core/resolver/encode.rs
src/cargo/core/resolver/mod.rs
src/cargo/ops/lockfile.rs
tests/workspaces.rs